<template>
  <div>
    <ul>
      <li v-for="(val,index) in arr" :key='index'>{{val}}<input type="text"></li>
      
    </ul>
    <button @click="addFn">下标为1的位置新增一个</button>
  </div>
</template>

<script>
export default {
  data () {
    return {
      arr:['老大','老二','老三']
    }
  },
  methods: {
    addFn(){
      this.arr.splice(1,0,'新来的')
    }
  }
}
</script>

<style>

</style>